package com.second.app.resource;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class ResourceD {

   public static void main(String[] args) throws IOException {

      InputStream is = ClassLoader.getSystemResourceAsStream("static/config/app.properties");
      if (is != null) {
         Properties props = new Properties();
         props.load(is);
         System.out.println(props.getProperty("app.name"));
      }
   }
}
